package IC.Analyzer.Types;

public class NullType extends Type {
	public static NullType me;

	public static NullType getIt() {
		if (me == null) me = new NullType();
		return me;
	}

	private NullType() {
	}

	public boolean isSubtypeOf(Type t) {
		return t instanceof RefType;
	}

	public static String toStringAll() {
		if(me == null) {
			return null;
		}
		else {
			return "null";
		}
	}

}
